package org.fanximall.erp.product.domain.aggregate;

import lombok.AccessLevel;
import lombok.Builder;
import lombok.Data;
import lombok.Setter;
import org.fanximall.erp.common.ddd.AggregateRoot;
import org.fanximall.erp.product.domain.model.ProductCategoryModel;
import org.fanximall.erp.product.domain.model.ProductLeafCategoryModel;

/**
 * @author :  william
 * @version :  V1.0  created in 2024/4/30
 * 类目聚合
 */
@Data
@Builder
@Setter(AccessLevel.PRIVATE)
public class CategoryAggregateRoot implements AggregateRoot {

    /**
     * 类目信息
     */
    private ProductLeafCategoryModel productLeafCategoryModel;

    /**
     * 叶子类目信息
     */
    private ProductCategoryModel productCategoryModel;
}
